package com.hoshiicloud.stock.param;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 仓库分页查询参数实体
 *
 * @author : yangcheng
 * @date : 2019/5/17 19:32
 * @mail : maiboyc@163.com
 **/
@ApiModel
@Data
public class WarehousePageParam {

    /**
     *当前页 默认为1
     */
    @ApiModelProperty(name = "pageIndex", value = "当前页码", dataType = "java.lang.Long", example = "1", hidden = true)
    @TableField(exist = false)
    private Long pageIndex = 1L;

    /**
     *每页数量 默认为10
     */
    @ApiModelProperty(name = "pageSize", value = "每页大小", dataType = "java.lang.Long", example = "10", hidden = true)
    @TableField(exist = false)
    private Long pageSize = 10L;

    // 仓库代码
    @ApiModelProperty(name = "whcode", value = "仓库代码", required = false, dataType = "java.lang.String", example = "W0001")
    private String whcode;

    // 省份
    @ApiModelProperty(name = "province", value = "省份", required = false, dataType = "java.lang.Long", example = "1001")
    private Long province;

    // 省份名称
    @ApiModelProperty(name = "provinceName", value = "省份名称", required = false, dataType = "java.lang.String", example = "广东省")
    private String provinceName;

    // 城市
    @ApiModelProperty(name = "city", value = "城市", required = false, dataType = "java.lang.Long", example = "100101")
    private Long city;

    // 城市名称
    @ApiModelProperty(name = "cityName", value = "城市名称", required = false, dataType = "java.lang.String", example = "广州市")
    private String cityName;

    // 地区
    @ApiModelProperty(name = "district", value = "地区", required = false, dataType = "java.lang.Long", example = "10010101")
    private Long district;

    // 地区名称
    @ApiModelProperty(name = "districtName", value = "地区名称", required = false, dataType = "java.lang.String", example = "天河区")
    private String districtName;

    // 仓库地址
    @ApiModelProperty(name = "address", value = "仓库地址", required = false, dataType = "java.lang.String", example = "福建省福州市马尾区世创大厦3楼")
    private String address;

    // 联系电话
    @ApiModelProperty(name = "telphone", value = "联系电话", required = false, dataType = "java.lang.String", example = "0591-8888888")
    private String telphone;

    // 负责人
    @ApiModelProperty(name = "charge", value = "负责人", required = false, dataType = "java.lang.String", example = "廖文雄")
    private String charge;

    // 仓库类别 1-自营仓库  2-客户仓库 3-供应商仓库
    @ApiModelProperty(name = "type", value = "仓库类别", required = false, dataType = "java.lang.Integer", example = "1")
    private Integer type;

    @ApiModelProperty(name = "skuNo",value = "SKUNO")
    private String skuNo;

    @ApiModelProperty(name = "itemNoName",value = "商品名称")
    private String ItemNoName;

    @ApiModelProperty(name = "skuName",value = "商品名称")
    private String skuName;
}  